<?php

namespace App\Singleton\Classes;

use Hyperf\Di\Annotation\Inject;
use App\Service\QueueService;
class QueuePush
{
    #[Inject]
    protected QueueService $service;

    public function push($job, int $delay = 0):bool
    {
        return $this->service->push($job, $delay);
    }
}
